package com.jiyun.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Transient;

/**
 * @projectName: day06_gengjiajun_p11
 * @package: com.jiyun.common.model
 * @className: Course
 * @author: 耿嘉军
 * @date: 2023/8/4 10:03
 * @version: 1.0
 */
@Data
@ToString
public class Course {
    /**
     * 课程管理
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    private String photo;
    private Integer personNum;
    private Integer dizan;
    private String userId;
    private Integer paix;
    private Integer state;
    @Transient
    @TableField(exist = false)
    private String tids;
    @Transient
    @TableField(exist = false)
    private String bafb;
}
